package IC.AST;

import java.util.LinkedList;

public abstract class FunctionCall extends ASTNode
{
	private String _functionName;
	private LinkedList<Expression> _params;
	
	public FunctionCall(Interval interval, String fuctionName, LinkedList<Expression> params)
	{
		super(interval);
		_functionName = fuctionName;
		_params = (params == null) ? new LinkedList<Expression>() : params;
		for (Expression expression : _params)
			GiveBirth(expression);
	}
	
	public String GetFunctionName() { return _functionName; }
	public LinkedList<Expression> GetParams() { return _params; }
}
